package com.ruoyi.project.system.item.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 zz_customer_order_item
 * 
 * @author ruoyi
 * @date 2020-10-29
 */
public class ZzCustomerOrderItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户订单明细id */
    private Integer customerOrderItemId;

    /** 客户订单id */
    @Excel(name = "客户订单id")
    private Integer customerOrderId;

    /** 商品id */
    @Excel(name = "商品id")
    private Integer productId;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Integer customerOrderItemNumber;

    public ZzCustomerOrderItem() {
    }

    public ZzCustomerOrderItem(Integer customerOrderItemId, Integer customerOrderId, Integer productId, Integer customerOrderItemNumber) {
        this.customerOrderItemId = customerOrderItemId;
        this.customerOrderId = customerOrderId;
        this.productId = productId;
        this.customerOrderItemNumber = customerOrderItemNumber;
    }

    public void setCustomerOrderItemId(Integer customerOrderItemId)
    {
        this.customerOrderItemId = customerOrderItemId;
    }

    public Integer getCustomerOrderItemId() 
    {
        return customerOrderItemId;
    }
    public void setCustomerOrderId(Integer customerOrderId) 
    {
        this.customerOrderId = customerOrderId;
    }

    public Integer getCustomerOrderId() 
    {
        return customerOrderId;
    }
    public void setProductId(Integer productId) 
    {
        this.productId = productId;
    }

    public Integer getProductId() 
    {
        return productId;
    }
    public void setCustomerOrderItemNumber(Integer customerOrderItemNumber) 
    {
        this.customerOrderItemNumber = customerOrderItemNumber;
    }

    public Integer getCustomerOrderItemNumber() 
    {
        return customerOrderItemNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("customerOrderItemId", getCustomerOrderItemId())
            .append("customerOrderId", getCustomerOrderId())
            .append("productId", getProductId())
            .append("customerOrderItemNumber", getCustomerOrderItemNumber())
            .toString();
    }
}
